package com.googlecode.androidspamblocker;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class SmsReceiver extends BroadcastReceiver {
	private static final String TAG = "SmsReceiver";
	
	public void onReceive(Context context, Intent intent) {
		Log.d(TAG, "Sms Received");
		Intent blockerIntent = new Intent(SmsBlocker.ACTION_FILTER, null);
		blockerIntent.putExtras(intent);
		context.startService(blockerIntent);
	}
}